package com.artist.service.Impl;

import com.artist.entity.TbUser;
import com.artist.mapper.UserMapper;
import com.artist.service.LoginService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.entity.Example;

@Service("loginService")
public class loginServiceImpl implements LoginService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public TbUser userLogin(String uName, String uPassword) {
        return userMapper.userLogin(uName,uPassword);
    }
}
